#include <dolphin/ip.h>
s32 IPClearConfigError(IPInterface* interface);
IPClearConfigError() clears the host configuration error code.
The following IPGetConfigError()
will return IP_ERR_NONE until another configuration error is
incurred.
interface |
Pointer to IPInterface to clear the host configuration
error code. Use
NULL to specify the default network interface. |
IPClearConfigError() returns the previous configuration error
code:
IP_ERR_NONE |
Ok. |
IP_ERR_DHCP_TIMEOUT |
Could not find any DHCP server. |
IP_ERR_DHCP_EXPIRED |
The lease time of the assigned IP address is expired. |
IP_ERR_DHCP_NAK |
The DHCP server rejected the configuration request. |
IP_ERR_PPPoE_TIMEOUT |
Could not find any access concentrator. |
IP_ERR_PPPoE_SERVICE_NAME |
The requested service-name request could not be honored. |
IP_ERR_PPPoE_AC_SYSTEM |
The access concentrator experienced some error. |
IP_ERR_PPPoE_GENERIC |
An unrecoverable error occured. |
IP_ERR_LCP |
LCP negotiation error |
IP_ERR_AUTH |
Authentication error |
IP_ERR_IPCP |
IPCP negotiation error |
IP_ERR_PPP_TERMINATED |
The access concentrator terminated the PPPoE session. |
IP_ERR_ADDR_COLLISION |
Detected duplicate IP address in the network. |
IP_ERR_LINK_DOWN |
Lost link pulses from the network. Check the wiring configuration for
the adapter. IP_ERR_LINK_DOWN error is set when the link goes
down that has been up. |